package com.boot.core.async.action;

import java.util.function.BiConsumer;

public class LogCompleteAction<R> extends AbstractLogAction<R> implements BiConsumer<R, Throwable> {

    public LogCompleteAction(String methodName, Object... args) {
        super(methodName, args);
    }

    @Override
    public void accept(R result, Throwable throwable) {
        log(result, throwable);
    }
}
